package com.niguang.labour.admin.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_qiye")
public class WorkQiye extends Model<WorkQiye> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 认证企业用户ID
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 企业名称
     */
	@TableField("qiye_name")
	private String qiyeName;
    /**
     * 企业地址
     */
	@TableField("qiye_addres")
	private String qiyeAddres;
    /**
     * 企业电话
     */
	@TableField("qiye_phone")
	private String qiyePhone;
    /**
     * 企业认证上传图片
     */
	@TableField("qiye_image")
	private String qiyeImage;
    /**
     * 审核状态 1-待审核 2-审核通过 3-审核拒绝
     */
	@TableField("audit_state")
	private Integer auditState;
    /**
     * 审核时间
     */
	@TableField("audit_time")
	private Date auditTime;
    /**
     * 审核人
     */
	@TableField("audit_user_name")
	private String auditUserName;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 未删除-0  已删除-1
     */
	@TableField("del_flag")
	private Integer delFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getQiyeName() {
		return qiyeName;
	}

	public void setQiyeName(String qiyeName) {
		this.qiyeName = qiyeName;
	}

	public String getQiyeAddres() {
		return qiyeAddres;
	}

	public void setQiyeAddres(String qiyeAddres) {
		this.qiyeAddres = qiyeAddres;
	}

	public String getQiyePhone() {
		return qiyePhone;
	}

	public void setQiyePhone(String qiyePhone) {
		this.qiyePhone = qiyePhone;
	}

	public String getQiyeImage() {
		return qiyeImage;
	}

	public void setQiyeImage(String qiyeImage) {
		this.qiyeImage = qiyeImage;
	}

	public Integer getAuditState() {
		return auditState;
	}

	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getAuditUserName() {
		return auditUserName;
	}

	public void setAuditUserName(String auditUserName) {
		this.auditUserName = auditUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public static final String ID = "id";

	public static final String USER_ID = "user_id";

	public static final String QIYE_NAME = "qiye_name";

	public static final String QIYE_ADDRES = "qiye_addres";

	public static final String QIYE_PHONE = "qiye_phone";

	public static final String QIYE_IMAGE = "qiye_image";

	public static final String AUDIT_STATE = "audit_state";

	public static final String AUDIT_TIME = "audit_time";

	public static final String AUDIT_USER_NAME = "audit_user_name";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkQiye{" +
			"id=" + id +
			", userId=" + userId +
			", qiyeName=" + qiyeName +
			", qiyeAddres=" + qiyeAddres +
			", qiyePhone=" + qiyePhone +
			", qiyeImage=" + qiyeImage +
			", auditState=" + auditState +
			", auditTime=" + auditTime +
			", auditUserName=" + auditUserName +
			", createTime=" + createTime +
			", delFlag=" + delFlag +
			"}";
	}
}
